﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using RightClickExtension.Properties;

namespace RightClickExtension
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (args.Length > 0)
            {
                if (args.Length == 2)
                    Application.Run(new frmMain(args));
                else if (args.Length == 1 && args[0] == "config")
                    Application.Run(new frmConfig());
            }
            else
                MessageBox.Show(Resources.ErrorParamters);
        }
    }
}
